<? if(!defined('IN_DISCUZ')) exit('Access Denied');?>
<? include template('header');
?>
  <tr>
    <td><table width="820" border="0" cellspacing="0" cellpadding="0" class="margin5">
      <tr>
        <td width="167" bgcolor="#dfdfe0"><img src="images/tit.gif" width="177" height="17" /><div class="entitle2">NEWS</div></td>
        <td width="653"><img src="images/news_banner.gif" width="653" height="83" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="840" height="420" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="181" valign="top" class="rightline">
    <div class="list2">
    <ul>
    <li><a href="months.php" class="current">月度概况表</a></li>
	<li><a href="days.php">生产任务日历报表</a></li>
	<li><a href="task.php">生产任务分析图表</a></li>
    </ul>
    </div>
    </td>
    <td width="659" valign="top">
	<TABLE width=100% height=50 border=1 align="center" cellPadding=5 
cellSpacing=3 borderColor=#336699 bgColor=#e1f0ff style="BORDER-COLLAPSE: collapse">
  <TBODY>
  <TR> 
    <TD colspan="8"><P class=MsoNormal style="TEXT-ALIGN: center" align=center><B><SPAN 
      style="FONT-SIZE: 18pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'"><?="年月度概况表"; ?></SPAN></B></P></TD>
</TR>
  <TR>
    <TD align="center">月份</TD>
    <TD colspan="2" align="center">运输收入</TD>
    <TD colspan="2" align="center">发送箱</TD>
    <TD align="center">&nbsp;</TD>
    <TD align="center">&nbsp;</TD>
    <TD align="center">&nbsp;</TD>
  </TR>
  <TR>  
    <TD width="138" align="center">&nbsp;</TD>
    <TD width="112" align="center">今年数据<br>(万元)</TD>
	<TD width="112" align="center">上年同比<br></TD>
	<TD width="119" align="center">今年数据<br>(TEU)</TD>
	<TD width="119" align="center">上年同比<br></TD>
    <TD width="103" align="center">发送吨<br>(吨)</TD>
    <TD width="114" align="center">到达箱<br>(TEU)</TD>
    <TD width="94" align="center">五定班列<br>(列)</TD>
  </TR>
<?php 
$last_month='';
	foreach($news['list'] as $new){
		$last_month=date('Y年m月',strtotime($new['tdate']));
?>
  <TR>  
    <TD align="center"><?=$last_month ?></TD>
	<TD align="center"><?=$new['yssr'] ?></TD>
    <TD align="center"><?=round($new['yssr_last']*100,2) ?>%</TD>
    <TD align="center"><?=$new['fsx'] ?></TD>
    <TD align="center"><?=round($new['fsx_last']*100,2) ?>%</TD>
    <TD align="center"><?=$new['fsd'] ?></TD>
	<TD align="center"><?=$new['ddx'] ?></TD>
    <TD align="center"><?=$new['wdblk'] ?></TD>
  </TR>
<?php }?>
<TR>  
    <TD align="center" class="redtt"><?=$last_month."<br>截止数据合计" ?></TD>
    <TD align="center" class="redtt"><?=$news['total']['yssr'] ?></TD>
	<TD align="center" class="redtt"></TD>
    <TD align="center" class="redtt"><?=$news['total']['fsx'] ?></TD>	    
    <TD align="center" class="redtt"></TD>
    <TD align="center" class="redtt"><?=$news['total']['fsd'] ?></TD>
	<TD align="center" class="redtt"><?=$news['total']['ddx'] ?></TD>
    <TD align="center" class="redtt"><?=$news['total']['wdblk'] ?></TD>
  </TR>
</TBODY></TABLE>	 
    </td>
  </tr>
</table>
<div class="bottomline" style="height:10px; width:840px; margin:0 auto;"></div>
<br />
<? include template('footer');
?>